﻿using System;
class StringToLiteral
{
    static void Main()
    {
        {
            Console.Write("input string: ");
            string str = Console.ReadLine();
            string newString = null;
            for (int i = 0; i < str.Length; i++)
            {
                newString = String.Format("{0}{1}{2}", newString, "\\u", Convert.ToString(((int)str[i]), 16).PadLeft(4, '0'));
            }
            Console.WriteLine(newString);
        }
        Console.ReadLine();
    }
}

